//////////////////////////////////////
//                                  //
//            Summary               // 
//                                  //
//////////////////////////////////////

var nav = (navigator.appName == 'Netscape');

function setLights()
{
	var NUMBER_OF_QUESTIONS = eval('parent.Toolbar.numQuestions' + parent.Toolbar.section + 't' + parent.Toolbar.topic)
	var btnRef;
	for (var i=0;i< NUMBER_OF_QUESTIONS;i++)
	{
		if (nav)
		{
			btnRef = eval("window.document.layers['Light" + (i+1) + "'].document.images['light" + (i+1) + "']");
		}
		else
		{
			btnRef = eval("document.light" + (i+1));
		}
		
		if (eval('parent.Toolbar.responseArray' + parent.Toolbar.section + 't' + parent.Toolbar.topic + '[' + i + ']'))
		{
			btnRef.src = "../shared/go.jpg";	
		}
		else
		{
			btnRef.src = "../shared/stop.jpg";	
		}
	}
	
}

